<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    //System.out.println("basepath:"+basepath);
%>
<html>
<head>
<base href="<%=basepath %>" />
    <title>强杰银行注册</title>

    <link href="css/register.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="js/jquery-3.1.1.js"></script>
    <script src="js/crypto-js.js"></script>
    <script src="js/aes-3.1.2.js"></script>
    <script src="js/jsencrypt-3.0.0-beta.1.js"></script>
    <script type="text/javascript">
        var script = document.createElement("script");
        script.src = "js/verificat.js";
        document.getElementsByTagName('head')[0].appendChild(script);
    </script>

</head>
<body id="i88" style="margin: 0">
<div class = "pg_header">
    <a class = "logo">强杰银行</a>
    <a class="pg_dl" onclick="refresh1();">注册</a>
</div>
<form name="tijiao" method="post" onsubmit="return check()" action="/uc/user_add">
    <div class="left"></div>
    <div class="pg_body">
        <div class="menu">用户名:</div>
        <div class="kong">
            <input id="text1" type="text" name="username" placeholder="请输入用户名" onblur="check()">
            <span id="div1" class="tian" style="margin-top: 5px">*(为必填)</span>
        </div>

        <div class="menu">密码:</div>
        <div class="kong">
            <input id="text2" type="password" name="userpwd" id="userpwd" placeholder="请输入密码" onblur="check()">
            <span id="div2" class="tian" >*(为必填)</span>
        </div>
        <div class="menu">确认密码:</div>
        <div class="kong">
            <input id="text3"  type="password" name="pwd" placeholder="请确认密码" onblur="check()">
            <span id="div3" class="tian">*(为必填)</span>
        </div>

        <div class="menu">电话号码:</div>
        <div class="kong">
            <input id="text4" type="text" name="phone" placeholder="请输入手机号码" onblur="check()">
            <span id="div4" class="tian">*(为必填)</span>
        </div>
        <input type="hidden" name="key" id="key"/>

    </div>
    <div class="can">
        <input onclick="sub();" type="button" name="002" value="注  册">
        <p style="width: 200px;display: inline-block;"></p>
        <input onclick="refresh();" type="button" name="004" value="取  消">

    </div>
</form>
<script type="text/javascript">

</script>
</body>
</html>
